package com.zeroxml.cms.service;

import com.zeroxml.cms.bo.Catalog;

import java.util.List;

/**
 * User: cjp
 * Date: 2007-9-9
 * Time: 19:45:01
 */
public interface ICatalogService {
    List<Catalog> getCatalogList(long parentId);

    Catalog getCatalog(long id);

    void updateCatalog(Catalog catalog);

    void createCatalog(Catalog catalog);

    void deleteCatalog(long id);

    Catalog getCatalog(String name);
}
